package models

type SayingComment struct {
	Model
	ID       uint   `gorm:"primary_key" json:"id"`
	UserId   uint   `json:"user_id"`
	SayingId uint   `json:"saying_id"`
	ParentId uint   `json:"parent_id"`
	Content  string `json:"content"`
	UserType int8   `json:"user_type"`
	IsBanned int8   `json:"is_banned"`
}

func (sayingComment *SayingComment) TableName() string {
	return "saying_comment"
}
